package qc.common.core.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 危险源辨识结果类型枚举
 *
 * @author QuCheng Tech
 * @since 2024/8/16
 */
@Getter
@AllArgsConstructor
public enum EhsHazardIndentificationResultTypeEnum {
    NOT_EXIST(0, "不存在","green"),
    HAZARD(1, "第一类危险源","orange"),
    HIDDEN_TROUBLE(2, "第二类危险源","red");

    @EnumValue
    private int index;
    private String name;
    private String color;
}
